home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
8_12.lha
/
8_12
/
8_12b1.h
< prev
next >
Wrap
Text File
|
1993-08-08
|
389b
|
17 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ An istream with an additional
/ pattern checking function
lass pat : public istream
extrabuf *ebp;
int existingstream;
ublic:
// bind to an existing input stream
pat(istream& in) :
ebp(new extrabuf(in))
{ existingstream = 1; }